package com.xiaoshuidi.cloud.module.member.controller.admin.coupon.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

@Data
@Accessors(chain = true)
public class OldBringNewCouponSendVO implements Serializable {

    private static final long serialVersionUID = 5884209466247553866L;

    @Schema(description = "业务标识")
    private String businessKey;

    @Schema(description = "租户id")
    private Long tenantId;

    @Schema(description = "老带新时间")//监听到消息的时间
    private Date oldBringsNewDate;

    @Schema(description = "老租客id")
    private Long oldUserId;

//    @Schema(description = "老租客门店id")
//    private Long oldApartmentId;

    @Schema(description = "新租客id")
    private Long newUserId;

    @Schema(description = "新租客门店id")
    private Long newApartmentId;

    @Schema(description = "合同开始日期")
    private Date startTime;

    @Schema(description = "合同结束日期")
    private Date endTime;

}
